import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/authlist',
    method: 'post',
    data,
  })
}

export function getDetail(data) {
  return request({
    url: '/authdetail',
    method: 'post',
    data,
  })
}

export function doAdd(data) {
  return request({
    url: '/authadd',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: '/authedit',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/authdelete',
    method: 'post',
    data,
  })
}
